package com.mystore.dao;

import com.mystore.entity.Address;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface AddressDao {

    List<Address> findAllMyAddressByUid(int uid, Connection connection);

    Address findAddressByAidAndUid(int id,int uid,Connection connection);

    Boolean save(Address address,Connection connection) throws SQLException;


}
